<!-- REQUIRED SCRIPTS AND STYLES -->
<link href="//ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<?php if(is_file(TEMPLATES_PATH.'themes/'.$theme->getId().'/ui/ui.theme.css')): ?>
<link rel="stylesheet" type="text/css" href="<?php echo TEMPLATES_URL; ?>themes/<?php echo $theme->getId(); ?>/ui/ui.theme.css"/> 
<?php else: ?>
	<link rel="stylesheet" type="text/css" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.min.css" />
<?php endif; ?>
<!-- FancyBox Gallery Plugin -->
<link rel="stylesheet" type="text/css" href="<?php echo JS_INCLUDE_URL; ?>jquery/plugins/fancybox/jquery.fancybox.css?v=2.1.5" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo JS_INCLUDE_URL; ?>jquery/plugins/fancybox/helpers/jquery.fancybox-buttons.css?v=1.0.5" />
<link rel="stylesheet" href="<?php echo JS_INCLUDE_URL; ?>jquery/plugins/fancybox/helpers/jquery.fancybox-thumbs.css?v=1.0.7" type="text/css" media="screen" />
<!-- FancyBox Gallery Plugin End -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>